package com.xiyu.service.convert.material;

import com.xiyu.service.vo.material.stock.StockSingleGetByDetailOutput;
import com.xiyu.service.vo.material.stock.StockGetListByDetailOutput;
import com.xiyu.service.vo.material.stock.StockPageQueryOutput;
import com.xiyu.service.model.material.stock.MaterialStockDetail;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 库存管理 Convert
 */
@Mapper
public interface StockConvert {
    StockConvert INSTANCE = Mappers.getMapper(StockConvert.class);


    List<StockPageQueryOutput> pageQueryOutputConvert(List<MaterialStockDetail> output);

    List<StockGetListByDetailOutput> getListByDetailOutputConvert(List<MaterialStockDetail> output);

    StockSingleGetByDetailOutput singleGetByDetailOutputConvert(MaterialStockDetail output);

}
